home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / Script-Daemon-100 / Script Daemon Documentation next >
Encoding:
Text File  |  1993-10-13  |  5.7 KB  |  120 lines  |  [TEXT/ttxt]

  1. Script Daemon v1.0.0 © 1993 Peter N Lewis.
  2. This program is free for any use.
  3.  
  4. • Contents
  5.  
  6.       What Script Daemon Does
  7.       What is Script Daemon
  8.       Using Script Daemon
  9.       Limitations
  10.       Small Print
  11.       Warranty
  12.       Fine Print
  13.       How It Works
  14.       Version History
  15.       Acknowledgements
  16.       The Author
  17.  
  18. • What Script Daemon Does
  19.  
  20. Script Daemon allows you to telnet to your Mac and enter AppleScript commands.  Only the owner can log in (using the Owner name&password).
  21.  
  22. It currently assumes and relies on AppleScript English.  Sorry, if you don’t like this, let me know.
  23.  
  24. Note: This release is a bit rough.  I dont know how this will be used, so I’m basically releasing it to let you tell me what you want.
  25.  
  26. • Using Script Daemon
  27.  
  28. Put the Users and Groups in the Scripting Additions folder, and put an alias to Script Daemon into the Startup Items folder and launch it.  Now telnet to your mac, log in using the owner name and owner password, and type AppleScript commands.  Script Daemon itself accepts certain (non-AppleScript) commands, these commands start with a slash (/).  The following commands are implemented:
  29.  
  30. /HELP - list the commands.
  31. /EXEC - enter a multi-line AppleScript script.  Terminate the script by typing a period (.) on a line by itself.  Currently there is no way of aborting a script.
  32. /QUIT - close the connection and quit.
  33.  
  34. Lines not starting with a slash are passed thru to AppleScript.  Note that a line "quit" means the AppleScript command "quit" which by default quits the current application, namely Script Daemon - since this is usually not what you want to do, I disallow it, type "<space>quit" if you really mean it.
  35.  
  36. Note that the context information is preserved permanently.  That is, you can type AppleScript commands like:
  37.  
  38. set test to "fred"
  39.  
  40. And then quit Script Daemon and relaunch it, and then type:
  41.  
  42. test
  43.  
  44. And it will display "fred".
  45.  
  46. • Limitations
  47.  
  48. Script Daemon requires MacTCP 1.1, System 7, and AppleScript.
  49.  
  50. • Small Print
  51.  
  52. This program is Free.  You can use it anywhere you want, you can do anything you like with it.
  53.  
  54. • Warranty
  55.  
  56. While I have made every attempt at making this program work correctly, I cannot guarentee it will work.  If it doesn’t work, I’ll refund your money :-)
  57.  
  58. The Users and Groups addition is a pre-release from Quinn at the University of Western Australia’s Computer Science department.  It may be released independently at some point.  You can ask quinn about it at <quinn@cs.uwa.edu.au>.
  59.  
  60. • Fine Print
  61.  
  62. Peter Lewis hereby disclaims all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose.  Peter Lewis will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if Peter Lewis or an agent of his has been advised of the possibility of such damages.  In no event shall Peter Lewis be liable for any damages, regardless of the form of the claim.  The person using the software bears all risk as to the quality and performance of the software.
  63.  
  64. • How It Works
  65.  
  66. Script Daemon listens to port 23 (the telnet port), accepts logins, validates them using the Users and Groups AppleScript extension (thanks to Comp Sci at UWA!), and then compiles and executes scripts.  The external interface uses the ISO-8859-1 character set.
  67.  
  68. • Version History
  69.  
  70. Still to do -
  71.  
  72. Some way of allowing more than just the owner to connect, perhaps a File Sharing group?
  73. Some way of allowing people to connect but not run arbitrary AppleScript commands, perhaps feed their commands to some handler you define?
  74. Some way to abort a /exec script
  75. .login script?
  76.  
  77. 1.0.0
  78.  
  79. • Acknowledgements
  80.  
  81. A huge thank you goes to Quinn and UWA’s Computer Science department for making the Users & Groups AppleScipt extension available and allowing me to bundle it with Script Daemon.
  82.  
  83. And another thank you goes to Onno Benschop for the icons.
  84.  
  85. And another to Quinn for lots of ideas, and to Stuart Cheshire for lots of other ideas.
  86.  
  87. • The Author
  88.  
  89. Programs written by me:
  90. DeHQX 2.0.1 - BinHex decoder (use StuffIt Expander instead).
  91. Finger 1.3.7 - Macintosh Finger client/daemon.
  92. Talk 1.1.1 - Macintosh Talk client/daemon.
  93. Chat 1.1.0 - Multiuser primitive irc-like daemon.
  94. FTPd 2.1.0 - Macintosh FTP server.
  95. Anarchie 1.0.0 - Macintosh archie client.
  96. Script Daemon 1.0.0 - Telnet->AppleScript gateway
  97. ObiWan 4.0.1 - Online help system.
  98. MacBinary II+ 1.0.2 - MacBinary II+ encoder/decoder.
  99. FetchNews 1.0.0b - Fetch News for use with NewsWatcher’s demo mode.
  100. MacTCP Watcher 1.1.0 - Display MacTCP’s state information.
  101. Bolo Finder 1.0.2 - Display the results from Mike Ellis' Bolo Tracker.
  102. Bolo RandomMap 1.1.0 - Generate a random map for Bolo.
  103.  
  104. French versions of some of my programs may be available from ftp.sri.ucl.ac.be:/pub.
  105.  
  106. You can sometimes get the latest development versions from redback.cs.uwa.edu.au:/others/peterlewis, but please use the major archives for released version if at all possible.  Redback is a long long way from most people, and using it wastes bandwidth on the Australian-US satelite link which is overly congested already.  So use the versions posted to the archives (like sumex-aim.stanford.edu or mac.archive.umich.edu), and only use the development versions if you have some specific problem - in which case tell me, especially since the development versions on redback are often not the latest versions I have)
  107.  
  108. Send postcards, comments, bug reports, wishes, and payments to:
  109.  
  110. Peter Lewis,
  111. 10 Earlston Way,
  112. Booragoon, Perth, WA, 6154,
  113. AUSTRALIA
  114.  
  115. or by electronic mail to:
  116.  
  117. Internet: peter.lewis@info.curtin.edu.au
  118. Bitnet: peter.lewis%info.curtin.edu.au@cunyvm.bitnet
  119. UUCP: uunet!munnari.oz!info.curtin.edu.au!peter.lewis
  120.